﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GameSchoolApplication.Models;

namespace GameSchoolApplication.Interfaces
{
    public interface IPersonRepository
    {
        IEnumerable<Person> GetAllPersons();

        Person GetPersonById(int? id);

        void CreatePerson(Person person);

        void DeletePerson(Person personToDelete);

        void UpdatePerson(Person person);

        void Dispose();
    }
}
